package com.woniuxy.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName transaction_order
 */
@Data
@TableName("transaction_order")
public class TransactionOrder implements Serializable{
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long customerId;
    private Long stationId;
    private Long paymentMethodId;
    private String transactionType; // 交易类型（如：充电支付、退款等）
    private String orderNo; // 订单号
    private BigDecimal transactionAmount; // 交易金额
    private Integer status; // 状态：0充电中，1已完成
    private Integer paymentStatus; // 付款状态：0待付款，1已付款
    private Date createTime;
    private Date updateTime;
    private String remark; // 备注
    private Long pileId;
}
